package com.yiyang.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("bed")
@Schema(name = "bed",description = "床位实体类")
public class Bed {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @Schema(name = "num",description = "床位编号")
    private String num;
    @Schema(name = "brid",description = "所属楼宇中的房间")
    private Integer brid;
    @Schema(name = "status",description = "是否被占用 （0：占用、1：未占用、2：外出）")
    private Integer status;
    @Schema(name = "isDelete",description = "是否被弃用   1：弃用   0：使用")
    @TableField(value = "is_delete")
    private Integer isDelete;
}
